package com.sdleyou.treepro.common.service;

import com.sdleyou.treepro.common.model.vo.AchievementVO;
import com.sdleyou.treepro.common.model.vo.UserAchievementVO;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotEmpty;
import java.math.BigDecimal;

public interface UserAchievementManager {

    /**
     * 获取成就详情
     */
    UserAchievementVO achievementInfo(String userId);

    /**
     * 更新全网总种树量
     */
    void updateTotalTree(Long num);

    /**
     * 更新总步数
     */
    void updateTotalStep(Long num);
}
